package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomequipmentsupplier.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * @Description:
 * @Author: Link
 * @CreateTime: 2023-05-18 20:01
 * @Version: 1.0
 */
@Data
@Schema(description = "供应商管理base对象")
public class EquipmentSupplierBaseVO {

    @Schema(description = "名称", required = true)
    private String name;

    @Schema(description = "修改之前的名称")
    private String oldName;

    @Schema(description = "售后电话", required = true)
    private String afterSalesTel;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "客户经理")
    private String accountManager;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "供应商地址")
    private String address;

    @Schema(description = "合作开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDate cooperationAt;

    @Schema(description = "备注")
    private String remark;
}
